/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package acervo.persistence;

import acervo.model.Midia;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Administrador
 */
public abstract class AbstractDAO {    
    
//    protected InterfaceDAO(){        
//    }    
    
    public abstract boolean save(Midia midia);
    public abstract boolean delete(int id);
    public abstract boolean update(Midia midia);
    public abstract Midia select(int id);  
    public abstract ArrayList<Midia> selectAll(String chave);
}